package com.example.securityproject.demos.common;

import lombok.Getter;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;

/**
 * @Author: Jiangjb
 * @CreateTime: 2022-06-25  00:01
 * @Description: 自定义异常2
 */
@Getter
@ResponseStatus(value = HttpStatus.BAD_REQUEST,reason = "用户名和密码不匹配!")
public class Business2Exception extends RuntimeException {

}


